layui.use(['element','jquery','layer'], function(){
		var $ = layui.jquery;
		var element = layui.element;
		var layer = layui.layer;
		// console.log(layer)
		$(".layui-btn").click(function(){
			// console.log(1421234)
			alert('添加成功！')
			var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
			var sname=$(".sname").val();
			var sphone=$(".sphone").val();
			var saddress=$(".saddress").val();
			
			parent.layer.close(index);
		})
	})